package com.dietmanager.model;

import java.io.Serializable;

public abstract class FoodModel implements Serializable {
	private static final long serialVersionUID = 683428763;
	private String name;
	private int amount;
	protected int calories;
	protected int fat;
	protected int carbohydrates;
	protected int protein;

	public FoodModel(String name, int amount) {
		this.name = name;
		this.amount = amount;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public int getCalories() {
		return calories;
	}

	public int getFat() {
		return fat;
	}

	public int getCarbohydrates() {
		return carbohydrates;
	}

	public int getProtein() {
		return protein;
	}

}
